package client3;

import java.net.MalformedURLException;
import java.net.URL;

import javax.xml.namespace.QName;
import javax.xml.ws.Service;

import client2.MobileCodeWSSoap;

public class testt {
	
	
public static void main(String[] args) throws MalformedURLException {
		
	  URL url = new URL("http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl");
	  
		QName qName = new QName("http://WebXml.com.cn/","MobileCodeWS");
		Service service = Service.create(url,qName);
		MobileCodeWSSoap port = service.getPort(MobileCodeWSSoap.class);
		String mobileCodeInfo = port.getMobileCodeInfo("13817075894", "");
		System.out.println(mobileCodeInfo);
		
		
	}
}
